home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / safpak12.zip / RECOVER.DOC < prev    next >
Text File  |  1992-04-03  |  8KB  |  163 lines

  1.                                   Disk Recovery
  2.                                   =============
  3.  
  4.        I sincerely hope that you will never need to use the information
  5.        in this file, but include it just in case any mishaps occur whilst
  6.        SAFEPACK is running.
  7.  
  8.        Due to the way that SAFEPACK is written, disruption of the program
  9.        at any stage should not affect the integrity of your data, but may
  10.        cause minor disruption to the organisation of the disk, such that
  11.        it should be tidied up before further use.  This file contains
  12.        information on how do perform this tidying, and an explanation of
  13.        the error messages that may be encountered.
  14.  
  15.        In the vast majority of cases of interruption to the program,
  16.        including all cases of user break-in with ctrl-break, the disk
  17.        should remain in a perfectly acceptable, usable condition, causing
  18.        DOS no problems.  It may well be even more fragmented than before,
  19.        but that shouldn't cause any problems that another run of SAFEPACK
  20.        wouldn't cure!  In rare cases, however, if the interruption occurs
  21.        while the directories are being written, two types of 'error' will
  22.        be noticed by CHKDSK, namely:
  23.  
  24.        1) Invalid sub-directory
  25.        ------------------------
  26.  
  27.        Despite sounding serious, the form of this error left by SAFEPACK
  28.        is actually very minor, and refers to the fact that the .. entry
  29.        at the start of a sub-directory may not point correctly to the
  30.        parent directory.  Since the parent's entry pointing at the
  31.        sub-directory is correct, CHKDSK can fix this fault easily and
  32.        automatically if run with the /F switch, i.e. CHKDSK drive: /F.
  33.  
  34.        2) 'Lost' clusters
  35.        ------------------
  36.  
  37.        This error can occur as moved clusters at the start of a file are
  38.        allocated together into a chain before the directory entry
  39.        pointing at them is updated, and the originals are only
  40.        de-allocated after the directory is updated.  If, therefore, the
  41.        defragmentation is interrupted in the middle of this process, then
  42.        one or other of the chains will be reported by CHKDSK as 'lost'. 
  43.        As the contents of the chains are identical, either chain is
  44.        equally valid, and the 'lost' clusters may safely be freed, making
  45.        their disk space available for re-use.  This is most simply
  46.        accomplished by running CHKDSK with the /F switch, and then
  47.        answering NO to the question about whether to convert lost
  48.        clusters to files.  Should you have any worries about doing this,
  49.        however, you can easily answer YES to this question then copy the
  50.        files of the form FILExxxx.CHK (all in root directory), to another
  51.        sick before deleting them.
  52.  
  53.  
  54.                 --- SAFEPACK Recovery Information --- Page 1 ---
  55.        If other errors are reported by CHKDSK, it would be unwise to
  56.        trust the data on the disk, and it is probably best to re-format
  57.        the disk and restore the backup you took before running SAFEPACK. 
  58.        If any such problems occur, please contact the author, with as
  59.        much detail as possible about the circumstances.
  60.  
  61.  
  62.        SAFEPACK Error Messages
  63.        =======================
  64.  
  65.        The majority of SAFEPACK error messages are self-explanatory, and
  66.        most refer to user errors on the command-line such as requesting
  67.        defragmentation of a non-existent disk.  Some, however, require
  68.        more explanation.
  69.  
  70.  
  71.        Multi-tasking environment XXX or FASTOPEN detected
  72.        --------------------------------------------------
  73.  
  74.        It is not safe to defragment a disk from within a multi-tasking
  75.        environment such as Windows, and SAFEPACK contains checks for the
  76.        more common of such environments.  If you encounter this message
  77.        and are running a multi-tasking environment, terminate the multi-
  78.        tasker before re-running SAFEPACK.  If FASTOPEN is found, then it
  79.        is necessary to reboot after removing FASTOPEN from the CONFIG.SYS
  80.        or AUTOEXEC.BAT file. If you really wish to defragment under such
  81.        circumstances and understand what you are doing, or if this error
  82.        occurs without obvious reason, then the checks may be by-passed
  83.        with the /B option.  If this error is reported, no writing to the
  84.        disk will have occurred.
  85.  
  86.  
  87.        Error in the File Allocation Table
  88.        ----------------------------------
  89.  
  90.        SAFEPACK performs a stringent test of the disk's file structure
  91.        before starting to defragment it, and will abort with this message
  92.        if any errors are found, however minor.  Most common errors may be
  93.        fixed by running CHKDSK with the /F switch  - see the DOS manual
  94.        for details.  If this error is reported, no writing to the disk
  95.        will have occurred.
  96.  
  97.  
  98.        Insufficient memory for the program to continue
  99.        -----------------------------------------------
  100.  
  101.        This error is most likely to occur if there are more than about
  102.        5000 files on the disk, or if you have less than 500k of free
  103.        memory.  Under some circumstances, it may be possible to run
  104.        SAFEPACK again with the same options, with success.  The disk
  105.        should remain fully usable after this error, which is a
  106.        'controlled exit'.
  107.  
  108.                 --- SAFEPACK Recovery Information --- Page 2 ---
  109.  
  110.        Disk read/write errors
  111.        ----------------------
  112.  
  113.        These may be reported under a variety of names such as write
  114.        protect, drive not ready, data error (CRC), seek error, sector not
  115.        found, write fault, read fault, or general failure. If any of
  116.        these errors occur, then there is likely to be a hardware or
  117.        magnetic surface error on the disk concerned, and SAFEPACK will
  118.        ask whether to retry or to abort - the normal ignore option is not
  119.        provided, as misreads of directory sectors could have disastrous
  120.        results.  If you have a utility to check &/or repair bad sectors
  121.        then this should be used, but otherwise it may be best to reformat
  122.        the disk, and restore your backup.  Note that errors of this type
  123.        are not normally detected by CHKDSK.
  124.  
  125.  
  126.        SAFEPACK Internal errors
  127.        ------------------------
  128.  
  129.        SAFEPACK contains several internal error checks to ensure that it
  130.        is functioning correctly, and if any of these fail then it aborts,
  131.        quoting an error number.  These errors should never be seen by
  132.        users, but can be produced if another program is accessing the
  133.        disk at the same time as SAFEPACK, as can occur if it is used
  134.        under a multi-tasking environment with the /B option.  Should an
  135.        internal error be reported, please check your disk with CHKDSK,
  136.        and contact the author, providing as much detail as possible about
  137.        the circumstances.  
  138.  
  139.  
  140.        Conclusion
  141.        ==========
  142.  
  143.        I hope that this file does not scare anyone from using SAFEPACK,
  144.        as I have yet to know it fail, but only a fool would believe
  145.        himself to have created a perfect program, and I believe that an
  146.        honest discussion of potential problems, however unlikely, is
  147.        better than pretending that they do not exist.  
  148.  
  149.        If nothing else, I hope that this document will persuade users to
  150.        perform a full backup of their disk before running ANY
  151.        defragmenter, especially one without SAFEPACK's safety features!
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.                 --- SAFEPACK Recovery Information --- Page 3 ---
  163.